import request from '@/utils/request'

// 查询 违纪申诉
export function getList(query) {
  return request({
    url: '/evaluate/represenRecor/list',
    method: 'get',
    params: query
  })
}


// 新增 违纪申诉
export function addData(query) {
    return request({
      url: '/evaluate/represenRecor',
      method: 'post',
      data: query
    })
}

// 修改 违纪申诉
export function editData(query) {
    return request({
      url: '/evaluate/represenRecor',
      method: 'put',
      data: query
    })
}

// 删除 违纪申诉
export function delData(ids) {
    return request({
      url: '/evaluate/represenRecor/' + ids,
      method: 'delete'
    })
}

// 新增 学生申诉
export function studentRepresen(query) {
  return request({
    url: '/evaluate/represenRecor/studentRepresen',
    method: 'post',
    data: query
  })
}

// 管理员审核 
export function adminTeacherExamine(query) {
  return request({
    url: '/evaluate/represenRecor/adminTeacherExamine',
    method: 'post',
    data: query
  })
}

